package com.tarena.lbs.marketing.repository;

import com.tarena.lbs.base.protocol.pager.BasePageList;
import com.tarena.lbs.pojo.marketing.bo.UserReceiveCouponBO;
import com.tarena.lbs.pojo.marketing.query.UserCouponQuery;

import java.util.List;

public interface UserReceiveCouponRepo {
    void saveUserReceiveCoupon(UserReceiveCouponBO userReceiveCouponBO);

    List<UserReceiveCouponBO> receiveCouponList(Integer userId, Integer couponId);

    BasePageList<UserReceiveCouponBO> userReceivePage(UserCouponQuery query);

    UserReceiveCouponBO getUserReceiveDetail(String couponCode);
}
